#include <stdio.h>
void clearArr(int* arrs, int arrsize) {
	for (int i = 0; i < arrsize; i++)
	{
		arrs[i] = 0;
	}
}

void printArr(int* arrs, int arrsize) {
	for (int i = 0; i < arrsize; i++)
	{
		printf(" %d", arrs[i]);
	}
	printf("\n");
}


int main011() {
	int arr[] = { 1,2,3 };
	int arrsize = sizeof(arr) / sizeof(arr[0]);
	clearArr(arr, arrsize);
	printArr(arr, arrsize);

	int newArr[] = { 1,2,3,4,5 };
	int* p = &newArr[0];
	p = p + 3;
	printf(" p==%d", *p);
	p = p - 2;
	printf(" p==%d", *p);

	return 0;
}